<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <script type="text/javascript" src="/Hr/SendMail/Api.js"></script>
    <script type="text/javascript">
        /*Ext.onReady(function(){
         Ext.Direct.addProvider(Hr.SendMail.REMOTING_API);
         SendMail.getSendMailInfo('402881d726bcd2fc0126bce10d790001',function(r){
         alert(r);
         });
         alert('abc');
         });*/

        function HtmlEntities2GBK(instr) {
            var divObj = document.createElement("div");
            divObj.innerHTML = instr;
            var outstr = divObj.innerText;
            return outstr;
        }
        var str = "&#27714;&#32844;&#20449;"
        alert(HtmlEntities2GBK(str));
    </script>
</head>
<body>

</body>
</html>